home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hottest 6
/
Hottest 6 (1996)(PDSoft)[!].iso
/
software
/
videoutils
/
a-g
/
ami2d
/
test
/
beam2nl.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1978-11-24
|
621b
|
37 lines
/* simple beam */
options results
if ~show('ports', "AMI2D") then do
address command 'run ami2d:bin/ami2d'
do while ~show('ports', "AMI2D")
end
end
address ami2d
call 'ami2d:rexx/plstress'
h = 0.1
L = 10.0
E1 = 1.0e8
nu1 = 0.000
'reset'
'iso(1,'E1','nu1')'
do i=0 to 20
xx = L*i/20
'node('i + 1','xx',0.0)'
if i//2 = 0 then 'node('i + 31','xx','h/2')'
'node('i + 61','xx','h')'
end
do j=0 to 9
i = j*2;
'quad8('j + 1',1,'i + 1','i + 3','i + 63','i + 61','i + 2','i + 33','i + 62','i + 31')'
end
'dispx(1,0.0)'
'dispy(1,0.0)'
'dispx(61,0.0)'
'dispy(61,0.0)'
'forcy(81,-50.0)'
exit